package com.config.server.demo.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Service
public class SomeService {
    @Value("${app1.age:101}")
    private int age;

    public int getAge() {
        return age;
    }
}
